package cn.youth996.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 微信公众号配置
 *
 * @author Zhan Xinjian
 * @date 2024/12/29
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "wechat")
public class WechatProperties {
    /**
     * 公众号appId
     */
    private String appId;
    /**
     * 公众号appSecret
     */
    private String secret;
    /**
     * 消息校验Token
     */
    private String token;
    /**
     * 消息加解密密钥
     */
    private String aesKey;
    /**
     * 微信小程序appId
     */
    private String appletAppId;
    /**
     * 微信小程序appSecret
     */
    private String appletSecret;
}
